home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-12-06 | 25.8 KB | 763 lines | [TEXT/ttxt] |
- Verb SITcomm.appendSelection
- Syntax SITcomm.appendSelection(f)
- Parameters f is the path to the file you wish to append to.
- The file will be created if it does not already exist.
- Action Appends current text selection to the specified file.
- Returns 0 if no errors
- -1 if no current selection
- a File Mgr error code.
- Example with SITcomm
- appendSelection("HD:myFile")
- See also SITcomm.printSelection
- SITcomm.saveSelection
-
- Verb SITcomm.bringToFront
- Syntax SITcomm.bringToFront()
- Parameters none
- Action makes SITcomm the frontmost, active application
- Returns true if SITcomm is running
- Example with SITcomm
- bringToFront()
- See also sys.bringAppToFront
-
- Verb SITcomm.clearBuffer
- Syntax SITcomm.clearBuffer()
- Parameters none
- Action Clears entire contents of the terminal window.
- Returns none
- Example with SITcomm
- clearBuffer()
-
- Verb SITcomm.connect
- Syntax SITcomm.connect(s)
- Parameters (s) is the AddressBook entry with which you wish to connect
- Action Opens a communication channel to external devices using the specified connection tool and settings.
- Returns 0 if SITcomm is running, and the connection is established
- -1 if the Address Book entry does not exist
- -2 if the connection is established, but waiting for a password
- -3 if the connection is established, but automatic login failed
- -4 if the connection is already open.
- Example with SITcomm
- connect("CIS")
- See also SITcomm.disconnect
- SITcomm.getConnectionStatus
- SITcomm.listenForConnection
- SITcomm.openConnection
-
- Verb SITcomm.disconnect
- Syntax SITcomm.disconnect()
- Parameters none
- Action Closes the communication channel to external devices.
- Returns 0 if no errors
- Example with SITcomm
- disconnect()
- See also SITcomm.connect
- SITcomm.getConnectionStatus
- SITcomm.listenForConnection
- SITcomm.openConnection
-
- Verb SITcomm.expand
- Syntax SITcomm.expand(file, destination, deleteoriginal)
- Parameters file -- pathname to the source file
- destination -- pathname to the folder into which to expand the file
- deleteOriginal -- true or false
- Action Expand a list of archives (StuffIt, Compact Pro, AppleLink or BinHex4)
- Returns 0 if no error.
- 4 if there is an archive integrity error,
- a negative number if a standard Macintosh OSError
- Example with SITcomm
- expand ("HD:Example.sit", "HD:Expanded Files:", true)
- See also SITcomm.stuff
- SITcomm.translate
-
- Verb SITcomm.getAddressList
- Syntax SITcomm.getAddressList()
- Parameters none required
- Action Returns a list of all entries in the current Address Book.
- Returns the list of address book entries
- Example with SITcomm
- getAddressList()
- See Also SITcomm.connect
- SITcomm.getToolConfigForAddress
- SITcomm.outlineAddressBook
-
- Verb SITcomm.getConnectionStatus
- Syntax SITcomm.getConnectionStatus()
- Parameters none required
- Action Returns the state of the connection - open, closed or listening.
- Returns 0 if the connection is closed.
- 1 if the connection is open.
- 2 if listening for a connection.
- Example with SITcomm
- getConnectionStatus()
- See Also SITcomm.connect
- SITcomm.disconnect
- SITcomm.listenForConnection
- SITcomm.openConnection
-
- Verb SITcomm.getConnSettings
- Syntax SITcomm.getConnSettings()
- Parameters none required
- Action Returns the name of the current connection tool & it's settings
- Returns the name of the current connection tool & it's settings (CR delimited)
- Example with SITcomm
- getConnSettings()
- See Also SITcomm.getTermSettings
- SITcomm.getXferSettings
- SITcomm.setConnSettings
-
- Verb SITcomm.getCurrentAddress
- Syntax SITcomm.getCurrentAddress()
- Parameters none required
- Action Returns the name of the current Address as displayed in the Toolbar.
- Returns the the name of the current Address
- Example with SITcomm
- getCurrentAddress()
- See Also SITcomm.connect
- SITcomm.loadAddres
-
- Verb SITcomm.getGlobalNotepadText
- Syntax SITcomm.getGlobalNotepadText()
- Parameters none required
- Action Returns the entire contents of the global notepad.
- Returns the entire contents of the global notepad.
- Example with SITcomm
- getGlobalNotepadText()
- See Also SITcomm.setGlobalNotepadText
- SITcomm.getNotepadText
- SITcomm.setNotepadText
-
- Verb SITcomm.getNotepadText
- Syntax SITcomm.getNotepadText()
- Parameters none required
- Action Returns the entire contents of the current session’s notepad.
- Example with SITcomm
- getNotepadText()
- See Also SITcomm.getGlobalNotepadText
- SITcomm.setNotepadText
-
- Verb SITcomm.getReceiveFolder
- Syntax SITcomm.getReceiveFolder()
- Parameters none required
- Action Returns the path to the folder where files will be received and capture files created.
- Returns The path to the current receive folder
- Example with SITcomm
- getReceiveFolder()
- See Also SITcomm.setReceiveFolder
- SITcomm.receiveFilesToFolder
- SITcomm.turnOnCapturingWithFile
-
- Verb SITcomm.getSelection
- Syntax SITcomm.getSelection()
- Parameters none required
- Action Returns the text of the current selection.
- Returns Returns the text currently selected.
- Example with SITcomm
- getSelection()
- See Also SITcomm.appendSelection
- SITcomm.printSelection
- SITcomm.saveSelection
-
- Verb SITcomm.getTermSettings
- Syntax SITcomm.getTermSettings()
- Parameters none required
- Action Returns the name of the current terminal tool & it's settings
- Returns the name of the current terminal tool & it's settings (CR delimited)
- Example with SITcomm
- getTermSettings()
- See Also SITcomm.getConnSettings
- SITcomm.getXferSettings
- SITcomm.setTermSettings
-
- Verb SITcomm.getTimer
- Syntax SITcomm.getTimer()
- Parameters none required
- Action Returns the elapsed time (in seconds) since the current connection was opened.
- Example with SITcomm
- getTimer()
-
- Verb SITcomm.getToolConfig
- Syntax SITcomm.getToolConfig(class)
- Parameters class (e.g. classConnection, classTerminal, classTransfer)
- Returns returns a text string from the current tool of the given class that represents its state.
- Example with SITcomm
- getToolConfig(classConnection)
- See Also SITcomm.getToolConfigForAddress
-
- Verb SITcomm.getToolConfigForAddress
- Syntax SITcomm.getToolConfigForAddress(class, addressName)
- Parameters class -- (e.g. classConnection, classTerminal, classTransfer)
- addressName -- An Address Book entry
- Returns returns a text string from the tool of the given class for the specified address that represents its state.
- Example SITcomm.getToolConfigForAddress(classConnection, "CIS")
- See Also SITcomm.getToolConfig
-
- Verb SITcomm.getToolList
- Syntax SITcomm.getToolList(class)
- Parameters class (e.g. classConnection, classTerminal, classTransfer)
- Returns returns a list of tools for the given class.
- Example with SITcomm
- getToolList(classConnection)
- See Also SITcomm.getToolConfigForAddress
- SITcomm.getToolConfig
- SITcomm.setToolConfig
- SITcomm.getToolName
- SITcomm.setToolName
-
- Verb SITcomm.getToolName
- Syntax SITcomm.getToolName(class)
- Parameters class (e.g. classConnection, classTerminal, classTransfer)
- Returns returns the name of the current tool for the given class.
- Example with SITcomm
- getToolName(classConnection)
- See Also SITcomm.getToolConfigForAddress
- SITcomm.getToolConfig
- SITcomm.setToolConfig
- SITcomm.setToolName
- SITcomm.getToolList
-
- Verb SITcomm.getToolNameForAddress
- Syntax SITcomm.getToolNameForAddress(class, addressName)
- Parameters class --(e.g. classConnection, classTerminal, classTransfer)
- addressName -- An Address Book entry
- Returns returns the name of the current tool of the given class for the specified address
- Example with SITcomm
- getToolConfigForAddress(classConnection, "CIS")
- See Also SITcomm.getToolConfig
- SITcomm.setToolConfig
- SITcomm.getToolName
-
- Verb SITcomm.getXferSettings
- Syntax SITcomm.getXferSettings()
- Parameters none
- Action returns the name of the current file transfer tool & it's settings
- Returns returns the name of the current file transfer tool & it's settings (CR delimited)
- Example with SITcomm
- getXferSettings()
- See Also SITcomm.getConnSettings
- SITcomm.getTermSettings
- SITcomm.setXferSettings
-
- Verb SITcomm.isConnectionOpen
- Syntax SITcomm.isConnectionOpen()
- Parameters none
- Action Returns true if the connection is currently open.
- Returns true if the connection is currently open.
- Example with SITcomm
- isConnectionOpen()
- See also SITcomm.getConnectionStatus
-
- Verb SITcomm.isRunning
- Syntax SITcomm.isRunning()
- Parameters none
- Action Returns true if SITcomm is currently running
- Returns true if SITcomm is running
- Example with SITcomm
- isRunning()
- See also SITcomm.bringToFront
- SITcomm.launch
-
- Verb SITcomm.launch
- Syntax SITcomm.launch()
- Parameters none required
- Action launches SITcomm™
- Example with SITcomm
- launch()
- See Also SITcomm.bringToFront
- SITcomm.openDocument
- SITcomm.quitApplication
-
- Verb SITcomm.listenForConnection
- Syntax SITcomm.listenForConnection()
- Parameters none required
- Action places the current connection tool in a waiting mode.
- Returns 0 if the connection was made
- Example with SITcomm
- listenForConnection()
- See Also SITcomm.connect
- SITcomm.disconnect
- SITcomm.listenForConnectionWithTimeout
-
- Verb SITcomm.listenForConnectionWithTimeout
- Syntax SITcomm.listenForConnectionWithTimeout(n)
- Parameters n -- You may optionally specify one of three timeout values.
- positive value for time to wait (in seconds)
- 0 for a single attempt
- -1 for no timeout
- Action places the current connection tool in a waiting mode
- Returns 0 if the connection was made
- Example with SITcomm
- listenForConnectionWithTimeout(10)
- See Also SITcomm.listenForConnection
-
- Verb SITcomm.loadAddress
- Syntax SITcomm.loadAddress(s)
- Parameters (s) is the AddressBook entry whose settings you wish to load
- Action Makes the current session configuration the specified address
- Returns 0 if SITcomm is running, and the address is loaded
- -1 if the Address Book entry does not exist
- -4 if the connection is already open.
- Example with SITcomm
- loadAddress("CIS")
- See also SITcomm.connect
- SITcomm.disconnect
- SITcomm.getConnectionStatus
- SITcomm.openConnection
-
- Verb SITcomm.openConnection
- Syntax SITcomm.openConnection()
- Parameters none
- Action opens communication channel to external devices using the current connection tool and settings.
- Returns true if successful
- Example with SITcomm
- openConnection()
- See also SITcomm.connect
- SITcomm.disconnect
- SITcomm.getConnectionStatus
- SITcomm.getCurrentAddress
-
- Verb SITcomm.openDocument
- Syntax SITcomm.openDocument(file)
- Parameters file is the path to the document you wish to open
- Action does nothing. It is here for future expansion.
- Example with SITcomm
- openDocument("HD:a file")
- See Also SITcomm.printDocument
-
- Verb SITcomm.outlineAddressBook
- Syntax SITcomm.outlineAddressBook(adrOutline, includeDetails)
- Parameters adrOutline -- address of a Frontier cell (e.g. @ scratchpad.x)
- includeDetails-- 0 includes Address Names only, 1 includes all details, including Tool names & settings
- Action creates a Frontier outline of the contents of SITcomm™ Address Book
- Example with SITcomm
- SITcomm.outlineAddressBook(@scratchpad.hotNumbers, 0)
- Notes if the current AddressBook is empty this verb returns
- the error: "<<The Address Book is Empty!>>"
- See Also SITcomm.getAddressList
-
- Verb SITcomm.pauseConnection
- Syntax SITcomm.pauseConnection ()
- Parameters none
- Action Sends an XOFF character to the remote system.
- Returns 0 if no error
- Example with SITcomm
- pauseConnection ()
- See Also SITcomm.resumeConnection
-
- Verb SITcomm.printDocument
- Syntax SITcomm.printDocument(file)
- Parameters file is the path to the document you wish to print
- Action does nothing. It is here for future expansion.
- Example SITcomm.printDocument("HD:file")
- See Also SITcomm.openDocument
-
- Verb SITcomm.printSelection
- Syntax SITcomm.printSelection()
- Parameters none
- Action Prints the current text selection with the current printer setup.
- Example with SITcomm
- printSelection ()
- See Also SITcomm.appendSelection
- SITcomm.getSelection
- SITcomm.saveSelection
-
- Verb SITcomm.quitApplication
- Syntax SITcomm.quitApplication()
- Parameters none required
- Action quits SITcomm™
- Example with SITcomm
- quitApplication()
- See Also SITcomm.isRunning
- SITcomm.launch
-
- Verb SITcomm.receiveFiles
- Syntax SITcomm.receiveFiles()
- Parameters none
- Action Enters receive mode using the current transfer tool and settings.
- Returns The list of files just recieved.
- Example with SITcomm
- receiveFiles()
- See Also SITcomm.receiveFilesToFolder
- SITcomm.sendFiles
- SITcomm.setReceiveFolder
-
- Verb SITcomm.receiveFilesToFolder
- Syntax SITcomm.receiveFilesToFolder(f)
- Parameters (f) is the pathname to folder to recieve files to.
- Action Enters receive mode using the current transfer tool and settings..
- Returns The list of files just recieved.
- Examples with SITcomm
- » receiveFilesToFolder(file.folderFromPath(SITcomm.appInfo.Path))
- See Also SITcomm.receiveFiles
- SITcomm.sendFiles
- SITcomm.setReceiveFolder
-
- Verb SITcomm.resumeConnection
- Syntax SITcomm.resumeConnection ()
- Parameters none
- Action Sends an XON character to the remote system.
- Returns 0 if no error
- Example with SITcomm
- resumeConnection ()
- See Also SITcomm.pauseConnection
-
- Verb SITcomm.saveSelection
- Syntax SITcomm.saveSelection(f)
- Parameters (f) is the path to destination file
- Action Saves current text selection into the specified file.
- Example with SITcomm
- saveSelection ("HD:SITcomm™:Notes")
- See Also SITcomm.appendSelection
- SITcomm.getSelection
- SITcomm.printSelection
-
- Verb SITcomm.sendBreak
- Syntax SITcomm.sendBreak()
- Parameters none
- Action sends a short break
- Example with SITcomm
- sendBreak ()
- See Also SITcomm.sendLongBreak
-
- Verb SITcomm.sendFiles
- Syntax SITcomm.sendFiles(f)
- Parameters f is the path to the file you wish to send
- Action Send the specified files to the remote system using the current transfer tool and settings.
- Example SITcomm.sendFiles ("HD:Daily Report")
- See Also SITcomm.receiveFiles
- SITcomm.receiveFilesToFolder
- SITcomm.sendTextFile
-
- Verb SITcomm.sendLongBreak
- Syntax SITcomm.sendLongBreak()
- Parameters none
- Action sends a long break
- Example with SITcomm
- sendLongBreak ()
- See Also SITcomm.sendBreak
-
- Verb SITcomm.sendText
- Syntax SITcomm.sendText(s)
- Parameters (s) is the string you wish to send
- Action Send the given text to the remote system.
- Example SITcomm.sendText(s)
- See Also SITcomm.sendFiles
- SITcomm.sendTextFile
- SITcomm.waitForText
-
- Verb SITcomm.sendTextFile
- Syntax SITcomm.sendTextFile(f, width)
- Parameters f is the path to the file you wish to send
- width is the character width you want to wrap the outgoing text to (0 = no wrap)
- Action Sends the contents of the specified file to the host with optional text wrapping
- Example SITcomm.sendTextFile ("Development:Trade Secrets", 75)
- Notes This verb is implemented as a script in the SITcomm/Frontier glue table.
- To take a closer look command-2click on the name of the verb within Frontier.
- See Also SITcomm.sendFiles
- SITcomm.sendTextWithDelay
-
- Verb SITcomm.sendTextWithDelay
- Syntax SITcomm.sendTextWithDelay(s, delay)
- Parameters s is the string of Text you wish to send
- delay is the amount of time in Seconds you wish to delay
- Action Sends the given text to the remote system, with the specified intercharacter delay.
- Example SITcomm.sendTextWithDelay ("Hi Mom!",1)
- See Also SITcomm.sendFiles
- SITcomm.sendText
- SITcomm.sendTextFile
-
- Verb SITcomm.setConnSettings
- Syntax SITcomm.setConnSettings (setng)
- Parameters (setng) is the setting you wish to set
- Action sets the current connection tool's settings
- Example with SITcomm
- setConnSettings("Baud 2400")
- Notes The string you pass is based on the scripting interface of the tool as defined by the CTB, consisting of token/value pairs.
- To see what is there, use the getConnSettings or outlineAddressBook commands to view the current settings.
- See Also SITcomm.getConnSettings
- SITcomm.getToolConfig
- SITcomm.getToolConfigForAddress
- SITcomm.setToolConfig
-
- Verb SITcomm.setGlobalNotepadText
- Syntax SITcomm.setGlobalNotepadText(s)
- Parameters s is a string of text.
- Action Sets the global notepad's text to the given text.
- Example with SITcomm
- setGlobalNotepadText("The West Wind Shapes The Pine…")
- See Also SITcomm.getGlobalNotepadText
- SITcomm.getNotepadText
- SITcomm.setNotepadText
-
- Verb SITcomm.setNotepadText
- Syntax SITcomm.setNotepadText(s)
- Parameters s is a string of text.
- Action Sets the current notepad's text to the given text.
- Returns 0 if there is no error
- -1 if there is no current session
- Example with SITcomm
- setNotepadText("Can't count to 1…without thinking twice")
- See Also SITcomm.getNotepadText
- SITcomm.setGlobalNotepadText
- SITcomm.getGlobalNotepadText
-
- Verb SITcomm.setReceiveFolder
- Syntax SITcomm.setReceiveFolder(f)
- Parameters f -- path to destination folder
- Action Sets the file receive folder to the given directory
- Returns 0 if successful
- Example with SITcomm
- setReceiveFolder("HD: Mail:")
- See Also SITcomm.getReceiveFolder
-
- Verb SITcomm.setTermSettings
- Syntax SITcomm.setTermSettings(setng)
- Parameters (setng) are the settings you wish to set
- Action sets the current terminal tool's settings
- Example with SITcomm
- setTermSettings("LocalEcho True")
- Notes The string you pass is based on the scripting interface of the tool as defined by the CTB, consisting of token/value pairs.
- To see what is there, use the getTermSettings or outlineAddressBook commands to view the current settings.
- See Also SITcomm.getTermSettings
- SITcomm.getToolConfig
- SITcomm.getToolConfigForAddress
- SITcomm.setToolConfig
-
- Verb SITcomm.setToolConfig
- Syntax SITcomm.getToolConfig(class, configstring)
- Parameters class -- (e.g. classConnection, classTerminal, classTransfer)
- configstring --string of Configuration Settings you wish to set
- Example with SITcomm
- setToolConfig(classTerminal,"LocalEcho True")
- Notes The string you pass is based on the scripting interface of the tool as defined by the CTB, consisting of token/value pairs.
- To see what is there, use the getConnSettings or outlineAddressBook commands to view the current settings.
- See Also SITcomm.getToolConfig
- SITcomm.getToolConfigForAddress
- SITcomm.setConnSettings
- SITcomm.setTermSettings
- SITcomm.setXferSettings
-
- Verb SITcomm.setToolName
- Syntax SITcomm.setToolName(class, toolname)
- Parameters class -- (e.g. classConnection, classTerminal, classTransfer)
- toolName -- the name of the tool to use
- Action Changes the current tool of the given class to the one specified by name.
- Example with SITcomm
- setToolName(classTransfer,"Aladdin ZMODEM Tool")
- Notes The string you pass is based on the scripting interface of the tool as defined by the CTB, consisting of token/value pairs.
- To see what is there, use the.getConnSettings or outlineAddressBook commands to view the current settings.
- See Also SITcomm.getToolConfig
- SITcomm.getToolConfigForAddress
- SITcomm.getToolList
- SITcomm.getToolName
- SITcomm.setToolConfig
-
- Verb SITcomm.setXferSettings
- Syntax SITcomm.setXferSettings(setng)
- Parameters (setng) are the settings you wish to set
- Action configures the current file transfer tool's settings.
- Example with SITcomm
- setXferSettings("AutoRecieve True")
- Notes The string you pass is based on the scripting interface of the tool as defined by the CTB, consisting of token/value pairs.
- To see what is there, use the getXferSettings or outlineAddressBook commands to view the current settings.
- See Also SITcomm.getXferSettings
- SITcomm.getToolConfig
- SITcomm.getToolConfigForAddress
- SITcomm.setToolConfig
-
- Verb SITcomm.stuff
- Syntax SITcomm.stuff(file, destination, deleteoriginal, makesea, encrypt, nocompress)
- Parameters file -- the file you wish to stuff
- destination -- Use this parameter to specify path string to a file for the resulting archive. Default is to name as “Archive.sit”.
- deleteoriginal -- true or false
- makesea -- passing true makes a self-unstuffing archive
- encrypt -- passing true makes the archive encrypted
- nocompress -- passing true creates an uncompressed archive
- Action stuffs a list of files into an archive.
- Returns 0 if there is no error.
- 4 if there is an archive integrity error,
- a negative number indicates a standard Macintosh OSError
- Example with SITcomm
- stuff ("HD: Example", "System:U/Ls:Example.sit", true, false, false, false)
- See also SITcomm.stuffInPlace
- SITcomm.stuffInPlaceAsSEA
- SITcomm.stuffInPlaceWithEncryption
- SITcomm.expand
- SITcomm.translate
-
- Verb SITcomm.stuffInPlace
- Syntax SITcomm.stuffInPlace(file, deleteoriginal)
- Parameters file -- the file you wish to stuff
- deleteoriginal -- true or false
- Action stuffs a list of files into an archive.
- Returns 0 if there is no error.
- 4 if there is an archive integrity error,
- a negative number indicates a standard Macintosh OSError
- Example with SITcomm
- stuffInPlace("HD: Example", true)
- See also SITcomm.stuff
- SITcomm.stuffInPlaceAsSEA
- SITcomm.stuffInPlaceWithEncryption
- SITcomm.expand
- SITcomm.translate
-
- Verb SITcomm.stuffInPlaceAsSEA
- Syntax SITcomm.stuffInPlaceAsSEA(file, deleteoriginal)
- Parameters file -- the file you wish to stuff
- deleteoriginal -- true or false
- Action stuffs a list of files into a self-extracting archive.
- Returns 0 if there is no error.
- 4 if there is an archive integrity error,
- a negative number indicates a standard Macintosh OSError
- Example with SITcomm
- stuffInPlaceAsSEA("HD: Example", true)
- See also SITcomm.stuff
- SITcomm.stuffInPlace
- SITcomm.stuffInPlaceWithEncryption
- SITcomm.expand
- SITcomm.translate
-
- Verb SITcomm.stuffInPlaceWithEncryption
- Syntax SITcomm.stuffInPlaceWithEncryption(file, deleteoriginal)
- Parameters file -- the file you wish to stuff
- deleteoriginal -- true or false
- Action stuffs a list of files into an encrypted archive.
- Returns 0 if there is no error.
- 4 if there is an archive integrity error,
- a negative number indicates a standard Macintosh OSError
- Example with SITcomm
- stuffInPlaceWithEncryption("HD: Example", true)
- See also SITcomm.stuff
- SITcomm.stuffInPlace
- SITcomm.stuffInPlaceAsSEA
- SITcomm.expand
- SITcomm.translate
-
- Verb SITcomm.translate
- Syntax SITcomm.translate(file, translationformat, tomacformat, destination)
- Parameters file -- the file you wish to translate.
- translationFormat -- Name of translation format (eg. "ZIP").
- toMacFormat -- true if translating to Mac (decoding), false if to Foreign format (encoding).
- destination -- Use this parameter to specify path string to a file or it will default to the same location as the source file.
- Action translates a file.
- Example with SITcomm
- translate ("HD:Example.zip", "ZIP", true, "HD:Translated Files:")
- See also SITcomm.expand
- SITcomm.translateDecode
- SITcomm.translateEncode
-
- Verb SITcomm.translateDecode
- Syntax SITcomm.translateDecode(file, translationformat)
- Parameters file -- the file you wish to translate.
- translationFormat -- Name of translation format (eg. "ZIP").
- Action Decodes a foreign file format into Macintosh files
- Example with SITcomm
- translate ("HD:Example.zip", "ZIP")
- See also SITcomm.expand
- SITcomm.translate
- SITcomm.translateEncode
-
- Verb SITcomm.translateEncode
- Syntax SITcomm.translateEncode(file, translationformat)
- Parameters file -- the file you wish to translate.
- translationFormat -- Name of translation format (eg. "ZIP").
- Action Encodes a Macintosh file into another format.
- Example with SITcomm
- translate ("HD:Report.sit", "BinHex4")
- See also SITcomm.expand
- SITcomm.translate
- SITcomm.translateDecode
-
- Verb SITcomm.turnOffCapturing
- Syntax SITcomm.turnOffCapturing()
- Parameters none required
- Action Closes the currently active capture file.
- Example with SITcomm
- turnOffCapturing()
- See Also SITcomm.turnOnCapturing
- SITcomm.turnOnCapturingWithFile
-
- Verb SITcomm.turnOffPrinting
- Syntax SITcomm.turnOffPrinting()
- Parameters none required
- Action Closes the current print job.
- Example with SITcomm
- turnOffPrinting()
- See Also SITcomm.turnOnPrinting
-
- Verb SITcomm.turnOnCapturing
- Syntax SITcomm.turnOnCapturing()
- Parameters none required
- Action Opens a file to capture incoming and outgoing text data.
- Example with SITcomm
- turnOnCapturing()
- See Also SITcomm.turnOffCapturing
- SITcomm.turnOnCapturingWithFile
-
- Verb SITcomm.turnOnCapturingWithFile
- Syntax SITcomm.turnOnCapturingWithFile(f)
- Parameters f is the full pathname to a file to capture incoming and outgoing text data
- Action Opens specified file to capture incoming and outgoing text data
- Example with SITcomm
- turnOnCapturingWithFile ()
- See Also SITcomm.turnOffCapturing
- SITcomm.turnOnCapturing
-
- Verb SITcomm.turnOnPrinting
- Syntax SITcomm.turnOnPrinting()
- Parameters none required
- Action Opens the current printer to print incoming and outgoing text data.
- Example with SITcomm
- turnOnPrinting()
- See Also SITcomm.turnOffPrinting
-
- Verb SITcomm.waitForText
- Syntax SITcomm.waitForText(s)
- Parameters s is the string of Text to search for.
- Action Placse a search on the connection for the specified text string.
- Returns The text that was found, or empty string if the search timed out
- Example with SITcomm
- waitForText("Please Enter Your Name:")
- Notes WaitForText will look on the terminal screen to the left of the cursor for the text that you specify (s).
- The advantage of the standard WFT, is that it is case insensitive and doesn't rely on timing.
- See Also SITcomm.waitForTextInStream
- SITcomm.waitForTextList
- SITcomm.waitForTextWithTimeout
-
- Verb SITcomm.waitForTextInStream
- Syntax SITcomm.waitForTextInStream(s)
- Parameters s is the string of Text to search for.
- Action Place a search on the raw connection data for the specified text string
- Returns The text that was found, or empty string if the search timed out
- Example with SITcomm
- waitForText("Password:")
- Notes Use waitForTextInStream when you want to search for non-display characters like control characters.
- See Also SITcomm.waitForText
- SITcomm.waitForTextList
- SITcomm.waitForTextWithTimeout
-
- Verb SITcomm.waitForTextList
- Syntax SITcomm.waitForTextList(s1, s2, s3)
- Parameters s1, s2, s3 - these are up the three strings to search for
- Action Place a search on the connection for the specified text strings
- Returns The text that was found, or empty string if the search timed out
- Example with SITcomm
- waitForTextList("You Have Mail", "You Have No Mail", "")
- Notes This command is equivalent to WaitForText, but allows you to specify multiple strings.
- Although the command is not limited to three strings, Frontier 2.0 does not allow for passing lists easily.
- See Also SITcomm.waitForText
- SITcomm.waitForTextInStream
- SITcomm.waitForTextWithTimeout
-
- Verb SITcomm.waitForTextWithTimeout
- Syntax SITcomm.waitForTextWithTimeout(s, timeout)
- Parameters s is the string of Text to search for.
- timeout is the number of seconds to wait.
- Action place a search on the connection for the specified text string.
- Returns The text that was found, or empty string if the search timed out
- Example with SITcomm
- waitForTextWithTimeout("Press Any Key To Continue:",3)
- See Also SITcomm.waitForText
- SITcomm.waitForTextInStream
- SITcomm.waitForTextList
-